package com.ty.day1;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/14 16:31
 */
public class Panda {
    String name;
    public void hit(){
        System.out.println("熊猫"+name+"耍杂技");
    }
    public void hit(String kf){
        System.out.println("熊猫"+name+"，耍杂技"+kf);
    }
    public void hit(String address,String name1){
        System.out.println(name+"在"+address+"打"+name1);
    }
    public void hit(String address,String injured,String name1){
        System.out.println(name+"在"+address+"和"+name1+"打架，"+name+"落败"+injured+"住院");
    }
}
